<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<h1>Joomla! 2.5模板覆写</h1>
<hr />
<h2>模块模板覆写</h2>
<div><span>templates/beez5/html/mod_login/</span><span>nologin.php</span></div>
<div><font face="sans-serif" size="2"><span style="line-height: 19px;">在语言文件</span></font><span>en-GB.tpl_beez5.sys.ini</span><span style="line-height: 19px; font-family: sans-serif; font-size: small; ">中添加:</span></div>
<div>
  <div>
    <p style="margin: 0.4em 0px 0.5em; line-height: 19px; font-family: sans-serif; font-size: 13px; ">TPL_BEEZ5_MOD_LOGIN_LAYOUT_NOLOGIN="Alt Login Layout"</p>
    <p style="margin: 0.4em 0px 0.5em; line-height: 19px; font-family: sans-serif; font-size: 13px; ">它会自动将文件名"nologin.php"翻译成"Alt Login Layout".</p>
  </div>
</div>
<br>
<hr>
<h2>组件模板覆写</h2>
<div>templates/beez5/html/com_content/article/mylayout.php</div>
<div>同文件夹下不能有与php同名的xml文件（有xml文件的话只可以在menu中选择，没有就只可以在cats中选择）</div>
<div>在语言文件中添加：</div>
<div>
  <p style="margin: 0.4em 0px 0.5em; line-height: 19px; font-family: sans-serif; font-size: 13px; ">TPL_BEEZ5_COM_CONTENT_ARTICLE_LAYOUT_MYLAYOUT="Title Only No XML"</p>
  <p style="margin: 0.4em 0px 0.5em; line-height: 19px; font-family: sans-serif; font-size: 13px; ">它会自动将文件名"mylayout.php"翻译成"Title Only No XML".</p>
</div>
</body>
</html>
